import request from '@/utils/request'

// get请求 错误码317001
export function list(params) {
  return request({
    url: `/price/management/list`,
    method: "get",
    params,
  });
}

// 新增 错误码317002
export function add(data) {
  return request({
    url: `/price/management/add`,
    method: "post",
    data,
  });
}

// 修改 错误码317003
export function edit(data) {
  return request({
    url: `/price/management/edit`,
    method: "post",
    data,
  });
}


// 修改 错误码317004
export function detail(id) {
  return request({
    url: `/price/management/id/${id}`,
    method: "get",
  });
}

// 删除 错误码317005
export function del(id) {
  return request({
    url: `/price/management/delete/${id}`,
    method: "get",
  });
}
